﻿using HCMS.CommonDtos;
using HCMS.Entities.OAuth2;
using System.Threading.Tasks;

namespace HCMS.IRepositories.OAuth2
{
    /// <summary>
    /// OAuth 2.0 AccessToken 仓储接口
    /// </summary>
    public interface IOAuth2AccessTokenRepository : ICommonRepository<OAuth2AccessToken, int>
    {
        /// <summary>
        /// 管理 列表
        /// </summary>
        /// <param name="searchArgs">搜索 参数</param>
        /// <param name="pager">分页 参数</param>
        /// <returns></returns>
        Task<ListPagerDto<OAuth2AccessToken>> ManageList(SearchArgsDto searchArgs, PagerArgsDto pager);
    }
}
